﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class TMSWayBillInfoDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class TMSWayBillInfoRequestDto
    {
        /// <summary>
        /// 描述 : 组织代码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "factory_code")]
        public string factory_code { get; set; }

        /// <summary>
        /// 描述 : 送货单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "waybill_no")]
        public string waybill_no { get; set; }

    }


    /// <summary>
    /// 条码生成主表
    /// </summary>
    public class TMSWayBillInfoResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }
        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "rows")]

        public List<TMSWayBillInfoResponseData> data { get; set; }

    }

    public class TMSWayBillInfoResponseData
    {
        /// <summary>
        /// 描述 :  出库单号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "shipment_no")]
        public string shipment_no { get; set; }

        /// <summary>
        /// 描述 : 来源单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "source_no")]
        public string source_no { get; set; }


        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code")]
        public string material_code { get; set; }


        /// <summary>
        /// 描述 : 物料名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_name")]
        public string material_name { get; set; }


        /// <summary>
        /// 描述 : 销售订单行id 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "source_item_code")]
        public string source_item_code { get; set; }


        /// <summary>
        /// 描述 : 销售订单行号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "sales_order_line_no")]
        public string sales_order_line_no { get; set; }

        /// <summary>
        /// 描述 : 数量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_amount")]
        public decimal? material_amount { get; set; }
        /// <summary>
        /// 描述 : 送货单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "waybill_no")]
        public string waybill_no { get; set; }
      
    }

    public class TMSWayBillInfoGZResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }
        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }

        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 1
        /// </summary>
        [Display(Name = "rows")]

        public List<TMSWayBillInfoGZResponseData> data { get; set; }

    }

    public class TMSWayBillInfoGZResponseData
    {
        /// <summary>
        /// 描述 :  出库单号
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TMSORDERNO")]
        public string TMSORDERNO { get; set; }

        /// <summary>
        /// 描述 : 来源单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "DEDI06")]
        public string DEDI06 { get; set; }


        /// <summary>
        /// 描述 : 物料编码 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CONSIGNEEID")]
        public string CONSIGNEEID { get; set; }


        /// <summary>
        /// 描述 : 物料名称 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CUSTOMERDESCR1")]
        public string CUSTOMERDESCR1 { get; set; }


        /// <summary>
        /// 描述 : 销售订单行id 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SOREFERENCE1")]
        public string SOREFERENCE1 { get; set; }


        /// <summary>
        /// 描述 : 销售订单行号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "REFLINENO")]
        public string REFLINENO { get; set; }

        /// <summary>
        /// 描述 : 数量 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SKU")]
        public string SKU { get; set; }
        /// <summary>
        /// 描述 : 送货单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SKUDESCR1")]
        public string SKUDESCR1 { get; set; }

        /// <summary>
        /// 描述 : 送货单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORDERNO")]
        public string ORDERNO { get; set; }

        /// <summary>
        /// 描述 : 送货单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "UDF06")]
        public string UDF06 { get; set; }

        /// <summary>
        /// 描述 : 送货单号 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "QTY")]
        public decimal? QTY { get; set; }

    }




}
